openssl req -newkey rsa:2048 -nodes -keyout rsa_private.key \
     -x509 -days 365 -out cert.crt -subj "/C=CN/ST=GD/L=SZ/O=vihoo/OU=dev/CN=" . ${2} . "/emailAddress=damonexw@163.com"


echo 'Generate key for IP:'  $1